﻿//============================================================
//write by bxl at 2021-06-05 10:11:45
//============================================================

using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace BCDto.TMS.TransportSpecificServiceConfig
{
    /// <summary>
    /// 运输特殊服务费配置 数据模型
    /// </summary>
    public class TransportSpecificServiceConfigRequestDto
    { 
        /// <summary>
        /// 车型Id
        /// </summary>
        [Display(Name = "车型Id")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public int VehicleTypeId { get; set; }

        /// <summary>
        /// 特殊服务类型
        /// </summary>            
        [Display(Name = "特殊服务类型")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string SpecificServiceType { get; set; }

        /// <summary>
        /// 服务标题
        /// </summary>            
        [Display(Name = "服务标题")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string ServiceTitle { get; set; }

        /// <summary>
        /// 短名称
        /// </summary>
        [Display(Name = "短名称")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string ShortName { set; get; }

        /// <summary>
        /// 有备注
        /// </summary>            
        [Display(Name = "有备注")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public bool HasRemark { get; set; }

        /// <summary>
        /// 服务备注
        /// </summary>            
        [Display(Name = "服务备注")] 
        public string ServiceRemark { get; set; }

        /// <summary>
        /// 服务费金额
        /// </summary>            
        [Display(Name = "服务费金额")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public decimal ServiceAmount { get; set; }

        /// <summary>
        /// 有单位
        /// </summary>            
        [Display(Name = "有单位")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public bool HasUnit { get; set; }

        /// <summary>
        /// 服务单位
        /// </summary>            
        [Display(Name = "服务单位")]
        public string ServiceUnit { get; set; }
         

    }
}
